<style type="text/css">
    .bjui-pageHeader{
        font-size: 18px;
        font-weight: bold;
    }
    .form{
        padding: 15px;
    }
    .form dl {
        overflow: hidden;
        padding-top: 15px;
    }

    .form dt {
        color: #666;
        float: left;
        font-size: 14px;
        padding: 3px 0 0;
        width: 11%;
    }
    .form dd {
        float: left;
        line-height: 22px;
    }
    dd.desc {
        height: 30px;
        padding: 0 10px;
        width: 150px;
    }
</style>

<div class="bjui-pageContent">
        <form action="{:U('Member/groupHandle')}" method="post" data-toggle="validate">
            <table class="table table-bordered table-hover table-striped table-top">
                <tr>
                    <td class="title">会员组名称：</td>
                    <td>
                        <input type="text" name="name" id="name" class="inp" value="{$group.name}" data-rule="required;length[4~]" data-tip="请填写会员组名称" data-ok="OK"> <font color="red">*</font>
                    </td>
                </tr>
                <tr>
                    <td class="title">会员组描述：</td>
                    <td>
                        <input type="text" name="description" id="description" class="inp" value="{$group.description}"></td>
                </tr>
                <tr>
                    <td class="title">是否启用：</td>
                    <td>
                        <input type="radio" name="status" value="1" id="status" <if condition="$group['status'] eq 1">checked="checked"</if>
                    >是
                    <input type="radio" name="status" value="0" id="status" <if condition="$group['status'] eq 0">checked="checked"</if>
                >否
                    </td>
                </tr>
                <tr>
                    <td class="title">排序：</td>
                    <td>
                        <input type="text" name="sort" id="sort" class="inp" value="{$group.sort}" data-rule="number"></td>
                </tr>

                        <input type="hidden" name="action" id="action" value="{$action}">
                        <input type="hidden" name="id" id="id" value="{$group.id}">
            </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
                            <li>
        <button data-icon="save" class="btn btn-default" type="submit">保存</button>
    </li>
    </ul>
</div>